package oop2.Task1;

public class GoodPerson {
    String name;
    char sex;

    public GoodPerson() {
    }

    public GoodPerson(String name, char sex) {
        this.name = name;
        this.sex = sex;
    }

    public void show() {
        System.out.println("我的名字叫:" + name + ",性别是" + sex);
    }
}
